package com.party.business.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.party.business.domain.TQuestionType;
import org.apache.ibatis.annotations.Mapper;

/**
 * 试题类别Mapper接口
 *
 * @author ruoyi
 * @date 2024-11-08
 */
@Mapper
public interface TQuestionTypeMapper  extends BaseMapper<TQuestionType>
{
    /**
     * 查询试题类别
     *
     * @param id 试题类别主键
     * @return 试题类别
     */
    public TQuestionType selectTQuestionTypeById(String id);

    /**
     * 查询试题类别列表
     *
     * @param tQuestionType 试题类别
     * @return 试题类别集合
     */
    public List<TQuestionType> selectTQuestionTypeList(TQuestionType tQuestionType);

    /**
     * 新增试题类别
     *
     * @param tQuestionType 试题类别
     * @return 结果
     */
    public int insertTQuestionType(TQuestionType tQuestionType);

    /**
     * 修改试题类别
     *
     * @param tQuestionType 试题类别
     * @return 结果
     */
    public int updateTQuestionType(TQuestionType tQuestionType);

    /**
     * 删除试题类别
     *
     * @param id 试题类别主键
     * @return 结果
     */
    public int deleteTQuestionTypeById(String id);

    /**
     * 批量删除试题类别
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTQuestionTypeByIds(String[] ids);
}
